home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 2429 < prev    next >
Encoding:
Internet Message Format  |  1996-08-06  |  1.1 KB

  1. Path: pinon.ccu.uniovi.es!i1437001
  2. Newsgroups: comp.lang.c++
  3. Subject: event into event
  4. Message-ID: <4dglef$c0i@pinon.ccu.uniovi.es>
  5. From: i1437001@petra.euitio.uniovi.es (Marcos Redondo Fonseca)
  6. Date: 16 Jan 1996 16:57:51 GMT
  7. Organization: Universidad de Oviedo
  8. NNTP-Posting-Host: petra.euitio.uniovi.es
  9. Mime-Version: 1.0
  10. Content-Type: text/plain; charset=iso-8895-1
  11. Content-Transfer-Encoding: 8bit
  12. X-Newsreader: TIN [version 1.2 PL2]
  13.  
  14. Hi everybody:
  15.   I am buildind a simulator under Win3.1 using Borland's OWL.
  16.   The problem is that I have to do long timed process and I would like that
  17. the user could abort it before finishing.
  18.   The problem is in fact an event problem. The long timed procedure is the
  19. response to an event and the user break (maybe the key ESC pressed) will be
  20. another.
  21.   Then how can I get an event into an event? or how can I get the state 
  22. of the keyboard during the processing of an event?
  23.  Is this posible? Is there a way to do this without having to split the
  24. procedure into several functions one of them the key event?
  25.  
  26.  Thank you for replaying.
  27.  
  28.  
  29.  Marcos Redondo  (Asturias-Spain)
  30.  
  31.